package cn.huapu.power.energy.service.impl;

import cn.huapu.power.energy.bean.MnPowerfees;
import cn.huapu.power.energy.bean.bo.DateParameterBo;
import cn.huapu.power.energy.mapper.MnPowerfeesMapper;
import cn.huapu.power.energy.service.MnPowerfeesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 测试用户权限服务实现类
 * @author autogen
 *
 */
@Service
public class MnPowerfeesServiceImpl extends BaseServiceImpl<MnPowerfeesMapper, MnPowerfees,Integer> implements MnPowerfeesService {
    @Autowired
    private MnPowerfeesMapper mnMapper;

    @Override
    @Transactional(readOnly = true)
    public List<MnPowerfees> getElecCapa(DateParameterBo da) {
        List<MnPowerfees> list = mnMapper.getElecCapa(da);
        return list;
    }
}
